package com.egg.mall.service.spu;

import com.egg.common.mybatis.service.IBaseService;
import com.egg.mall.entity.spu.Spu;
import com.egg.mall.model.request.SpuPostOrPut;
import com.egg.mall.model.request.SpuStatePut;

import java.io.Serializable;
import java.util.Collection;


/**
 * @author east
 * @since 2022-08-08
 */
public interface ISpuService extends IBaseService<Spu> {


    Long addSpu(SpuPostOrPut param);

    Long editSpu(Serializable id, SpuPostOrPut param);

    void delSpu(Collection<? extends Serializable> ids);

    Long editSpuState(Serializable id, SpuStatePut param);


}
